package com.shzu.mapper;

import com.shzu.pojo.MajorCourceReplace;
import com.shzu.pojo.MajorCourceReplaceExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface MajorCourceReplaceMapper {
    int countByExample(MajorCourceReplaceExample example);

    int deleteByExample(MajorCourceReplaceExample example);

    int deleteByPrimaryKey(String mid);

    int insert(MajorCourceReplace record);

    int insertSelective(MajorCourceReplace record);

    List<MajorCourceReplace> selectByExample(MajorCourceReplaceExample example);

    MajorCourceReplace selectByPrimaryKey(String mid);

    int updateByExampleSelective(@Param("record") MajorCourceReplace record, @Param("example") MajorCourceReplaceExample example);

    int updateByExample(@Param("record") MajorCourceReplace record, @Param("example") MajorCourceReplaceExample example);

    int updateByPrimaryKeySelective(MajorCourceReplace record);

    int updateByPrimaryKey(MajorCourceReplace record);
}